/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package deti.es.persistence.bandprofile;

import deti.es.ukni.persistence.entity.*;
import javax.ejb.Remote;

/**
 * BandProfile Remote interface
 *
 * @author ukni
 */

@Remote
public interface BandProfileRemote {

    /**
     * Create a new element of the band and stored in a database
     *
     * @param band the band of a registered user
     * @param name the name of the new band element
     * @param role the role to the band of the new band element
     * @param bio the biography of the new band element
     */
    public void createElement(Band band, String name, String role, String bio);

    /**
     * Modify, update or change some fields of a band element
     *
     * @param element element that we want doing some changes
     */
    public void updateElement(Bandelement element);

    /**
     * Post a video in a band page
     *
     * @param band band that want post a video
     * @param name name of the video
     * @param desc description of the video
     * @param embed embedded code of the video
     */
    public void postVideo(Band band, String name, String desc, String embed );

    /**
     * Post a image in a band page
     * @param band the poster of the video
     * @param name name of the image
     * @param desc description of the image
     * @param uri  image url
     */
    public void postImage(Band band, String name, String desc, String uri );

}
